/*
 * switches.h
 *
 *  Created on: Mar 10, 2009
 *      Author: Michael Greene
 */

#ifndef SWITCHES_H_
#define SWITCHES_H_

//Platform Switches
#ifdef UNIX
	#define CARDCHARS char suits[] = {'H', 'D', 'C','S'}
	#define HIDE "1&>/dev/null"
	#define DIRSEP '/'
	#define PLAYFILECMD "play"
	enum D_CHARS {
		VERT = '|',
		HORIZ = '-',
		L_T_CORN = '+',
		R_T_CORN = '+',
		L_B_CORN = '+',
		R_B_CORN = '+',
		T_TEE = '+',
		B_TEE = '+',
		L_TEE = '+',
		R_TEE = '+',
		CROSS = '+'
	};
#endif

#ifdef DOS
	#define CARDCHARS char suits[] = {3,4,5,6}
	#define HIDE ">NUL 2>NUL"
	#define DIRSEP '\\'
	#define PLAYFILECMD "sox"
	enum D_CHARS {
		VERT = 186,
		HORIZ = 205,
		L_T_CORN = 201,
		R_T_CORN = 187,
		L_B_CORN = 200,
		R_B_CORN = 188,
		T_TEE = 203,
		B_TEE = 202,
		L_TEE = 204,
		R_TEE = 185,
		CROSS = 206
	};
#endif


//Random Number Generator (RNG) Switches
#ifdef YESRND
	#define INITRAND srand(time(NULL))
#endif
#ifdef NORND
	#define INITRAND srand(1)
	// ** NOTE: srand(1) makes for a very nice testing-deck; lots of good hands possible.
#endif


#endif /* SWITCHES_H_ */
